package com.zlj.huanxin.utils;

import android.util.Log;

/****
 *
 * 描述 ：
 *
 * 创建 ：
 *
 * 日期 ：2021/4/12
 *
 *****/
public class LogUtils {

    private static  boolean isDebug = true;

    private static String TAG = "####";

    public boolean isDebug(){ return isDebug;};

    public void setDebug(boolean debug){ isDebug = debug;};

    public static void e(String msg)
    {
        if (isDebug)
        {
            Log.e(TAG,msg);
        }
    }

    public static void i(String msg)
    {
        if (isDebug)
        {
            Log.i(TAG,msg);
        }
    }


}
